#判断当前字符串是否为模式串的旋转


def reverse_string(s,data ):
    if len(data) != len(s):
        return False
    return data in (s + s)


print(reverse_string("abcde","bcdea"))
print(reverse_string("abcde","acdbe"))
print(reverse_string("abcde","cdeab"))
print(reverse_string("abcde","eabcd"))

